﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Modules.AccountEdit"
    CodeBehind="AccountEdit.ascx.cs" %>
<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="~/Modules/SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CaptionTextBox" Src="~/Modules/CaptionTextBox.ascx" %>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td colspan="2"><span class="red1"><strong>*</strong></span><strong> - Обязательные поля</strong></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtCompany" Caption="Название организации" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать название организации" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtAddress1" Caption="Юридический адрес" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать юридический адрес" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td width="30%">
            Юридический адрес:
        </td>
        <td width="70%">
            <asp:TextBox ID="txtAddress1" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td width="30%">
            Фактический адрес:
        </td>
        <td width="70%">
            <asp:TextBox ID="txtAddress2" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtINN" Caption="ИНН" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать ИНН" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>

        <%--
        <td>
            ИНН:
        </td>
        <td>
            <asp:TextBox ID="txtINN" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtKPP" Caption="КПП" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать КПП" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            КПП:
        </td>
        <td>
            <asp:TextBox ID="txtKPP" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtOGRN" Caption="ОГРН" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать ОГРН" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            ОГРН:
        </td>
        <td>
            <asp:TextBox ID="txtOGRN" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtBankName" Caption="Название банка" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать название банка" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            Название банка:
        </td>
        <td>
            <asp:TextBox ID="txtBankName" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtBankAddress" Caption="Город и адрес банка" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать город и адрес банка" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            Город и адрес банка:
        </td>
        <td>
            <asp:TextBox ID="txtBankAddress" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtBIK" Caption="БИК" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать БИК" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            БИК:
        </td>
        <td>
            <asp:TextBox ID="txtBIK" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtKorrAcc" Caption="Корр. счет" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать корр. счет" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            Корр. счет:
        </td>
        <td>
            <asp:TextBox ID="txtKorrAcc" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtRS" Caption="Расчетный счет" 
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать расчетный счет" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            Расчетный счет:
        </td>
        <td>
            <asp:TextBox ID="txtRS" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtPhoneNumber" Caption="Телефон"  
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать телефон" IsPhone="True"  
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtFaxNumber" Caption="Факс"  
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать факс" IsPhone="True"  
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
        <%--
        <td>
            Факс:
        </td>
        <td>
            <asp:TextBox ID="txtFaxNumber" runat="server" CssClass="reg_textbox"></asp:TextBox>
        </td>
         --%>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtEmail" Caption="E-mail"
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать e-mail" IsEmail="True"  
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtFirstName" Caption="Контактное лицо"
              ValidationGroup="CustomerAccount" ErrorMessage="Необходимо указать контактное лицо" 
              CssEditClass="reg_textbox" CssContainerClass="accountaddress-table-container">
            </nopCommerce:CaptionTextBox>
            <asp:Label ID="lblShippingAccountId" runat="server" Visible="false"></asp:Label>
        </td>
    </tr>
</table>
